% # File Info -- SDUSThesis.cls, Class for SDUST-Thesis.

% Version Control System Information -- Subversion, hosts on <+Google Code+>;
% $URL: http://sdusthesis.googlecode.com/svn/tags/beta-0.5/SDUSThesis.cls $;
% $Id: SDUSThesis.cls 21 2012-05-13 11:32:23Z suxpert@gmail.com $;

% # Copyright (C) 2009-2012, LiTuX, All wrongs reserved.
%
%	Permission is granted to copy, distribute and/or modify this document
%	under the terms of the GNU Free Documentation License, Version 1.3
%	or any later version published by the Free Software Foundation;
%	with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts.
%	A copy of the license is included in the section entitled "GNU
%	Free Documentation License".
%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\NeedsTeXFormat{LaTeX2e}
\ProvidesClass{SDUSThesis}[2012/05/13 v0.5 SDUST-Thesis Template by LiTuX]

\DeclareOption{abstract}{
	\PassOptionsToPackage{\CurrentOption}{stSpec}
	\PassOptionsToClass{oneside}{ctexbook}
}
\DeclareOption{thesis}{\PassOptionsToPackage{\CurrentOption}{stSpec}}

\DeclareOption{GBK}{\OptionNotUsed}
\DeclareOption{openright}{\OptionNotUsed}
\DeclareOption*{\PassOptionsToClass{\CurrentOption}{ctexbook}}
\ProcessOptions\relax

\ExecuteOptions{thesis}
\LoadClass[cs4size, a4paper, UTF8, fancyhdr, fntef, openany]{ctexbook}
\RequirePackage{stLayout}
\RequirePackage{stSpec}

% vim: set ft=tex ts=4 sw=4 tw=78 fo+=Mm cc=+1 :

